<template>
  <div class="detail-content">
    <el-row :gutter="20">
      <el-col :span="6">
        <span>公司名字:</span>
        {{objData.companyName}}
      </el-col>
      <el-col :span="6">
        <span>用户名:</span>
        {{objData.userName}}
      </el-col>
      <el-col :span="6">
        <span>推广顾问:</span>
        {{objData.promotionConsultant}}
      </el-col>
      <el-col :span="6">
        <span>网 址:</span>
        {{objData.website}}
      </el-col>
      <el-col :span="6">
        <span>网站名:</span>
        {{objData.websiteName}}
      </el-col>
      <el-col :span="6">
        <span>顾问电话:</span>
        {{objData.consultantPhone}}
      </el-col>
      <el-col :span="6">
        <span>信息状态:</span>
        {{objData.infoStatus === '1' ? '通过' : '不通过'}}
      </el-col>
      <el-col :span="6">
        <span>资质状态:</span>
        {{objData.qualificationsStatus === '1' ? '通过' : '不通过'}}
      </el-col>
      <el-col :span="6">
        <span>合规状态:</span>
        {{objData.complianceStatus === '1' ? '通过' : '不通过' }}
      </el-col>
      <el-col :span="6">
        <span>加V状态:</span>
        {{objData.addvStatus === '1' ? '通过' : '不通过' }}
      </el-col>
      <el-col :span="6">
        <span>信用状态:</span>
        {{objData.creditStatus === '1' ? '通过' : '不通过' }}
      </el-col>
      <el-col :span="6">
        <span>保证金状态:</span>
        {{objData.marginStatus === '1' ? '通过' : '不通过' }}
      </el-col>
      <el-col :span="6">
        <span>搜索推广余额:</span>
        {{objData.searchBalance}}
      </el-col>
      <el-col :span="6">
        <span>搜索推广预算:</span>
        {{objData.searchBudget === '1' ? '正常' : objData.searchBudget === '2' ? '预算撞线' : '预算超线'}}
      </el-col>
      <el-col :span="6">
        <span>信息流余额:</span>
        {{objData.infoFlowBalance}}
      </el-col>
      <el-col :span="6">
        <span>信息流预算:</span>
        {{objData.infoFlowBudget === '1' ? '正常' : objData.searchBudget === '2' ? '预算撞线' : '预算超线'}}
      </el-col>
      <el-col :span="6">
        <span>电商推广余额:</span>
        {{objData.ecommerceBalance}}
      </el-col>
      <el-col :span="6">
        <span>电商推广预算:</span>
        {{objData.ecommerceBudget === '1' ? '通过' : '不通过' }}
      </el-col>
      <el-col :span="6">
        <span>搜索推广禁推状态:</span>
        {{objData.searchProhibit === '1' ? '通过' : '不通过' }}
      </el-col>
      <el-col :span="6">
        <span>信息流业务端禁推状态:</span>
        {{objData.infoFlowProhibit === '1' ? '通过' : '不通过' }}
      </el-col>
      <el-col :span="6">
        <span>电商推广禁推状态:</span>
        {{objData.ecommerceProhibit}}
      </el-col>
      <el-col :span="6">
        <span>媒体端禁推状态:</span>
        {{objData.mediumProhibit}}
      </el-col>
      <el-col :span="6">
        <span>搜索推广状态:</span>
        {{objData.searchPromotionStatus === '1' ? '通过' : '不通过' }}
      </el-col>
      <el-col :span="6">
        <span>信息流状态:</span>
        {{objData.infoPromotionStatus === '1' ? '通过' : '不通过' }}
      </el-col>
      <el-col :span="6">
        <span>电商推广状态:</span>
        {{objData.ecommercePromotionStatus === '1' ? '通过' : '不通过' }}
      </el-col>
      <el-col :span="6">
        <span>登录时间:</span>
        {{objData.loginTime}}
      </el-col>
      <el-col :span="6">
        <span>行业信息:</span>
        {{objData.industryInfo}}
      </el-col>
      <el-col :span="6">
        <span>所在城市:</span>
        {{objData.whereCity}}
      </el-col>
      <el-col :span="6">
        <span>通讯地址:</span>
        {{objData.mailAddress}}
      </el-col>
      <el-col :span="6">
        <span>联系人:</span>
        {{objData.contacts}}
      </el-col>
      <el-col :span="6">
        <span>座机:</span>
        {{objData.landline}}
      </el-col>
      <el-col :span="6">
        <span>手机:</span>
        {{objData.phone}}
      </el-col>
      <el-col :span="6">
        <span>邮政编码:</span>
        {{objData.postalCode}}
      </el-col>
      <el-col :span="6">
        <span>Email:</span>
        {{objData.email}}
      </el-col>
      <el-col :span="6">
        <span>传真:</span>
        {{objData.fax}}
      </el-col>
      <el-col :span="6">
        <span>发票邮寄联系人:</span>
        {{objData.invoiceMailingContacts}}
      </el-col>
      <el-col :span="6">
        <span>发票邮寄联系电话:</span>
        {{objData.invoiceMailingPhone}}
      </el-col>
      <el-col :span="6">
        <span>发票邮寄邮政编码:</span>
        {{objData.invoiceMailingCode}}
      </el-col>
      <el-col :span="6">
        <span>发票邮寄地址:</span>
        {{objData.invoiceMailingAddress}}
      </el-col>
      <el-col :span="6">
        <span>信用认证:</span>
        {{objData.creditAuth}}
      </el-col>
      <el-col :span="6">
        <span>信用值:</span>
        {{objData.creditValue}}
      </el-col>
      <el-col :span="6">
        <span>安全评分:</span>
        {{objData.safetyRating}}
      </el-col>
      <!-- TODO: -->
      <el-col :span="6">
        <span>账户其他信息:</span> 无
      </el-col>
    </el-row>
    <el-button class="btn-back" type="primary" plain @click="$emit('handleCancle')">返回</el-button>
  </div>
</template>
  <script>
export default {
  name: "detail",
  data() {
    return {};
  },
  props: {
    // 详情数据
    objData: {
      type: Object,
      default: () => {}
    }
  }
};
</script>
<style scoped lang="scss">
.detail-content {
  width: 90%;
  margin: 0 auto;
  margin-top: 30px;
  .el-col {
    margin: 12px 0;
    span {
      color: #409eff;
    }
  }
  .btn-back {
    display: flex;
    text-align: center;
    margin: 0 auto;
    margin-top: 50px;
  }
}
</style>